I use this script to make changing root (chroot) easier. It binds the directories I need and copies over the needed files, that is required for compiling programs inside of a "chroot". 
